Closed loop auditory stimulation